﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;

namespace NextCommerce.Web.HttpHandlers {
	public class TemplatesHttpHandler : IHttpHandler {

		public void ProcessRequest(HttpContext context) {
			var response = context.Response;
			response.ContentType = "text/html";
			var request = context.Request;
			//var server = context.Server;
			var url = request.Url;
			//var urlReferer = request.UrlReferrer;
			var writer = new HtmlTextWriter(context.Response.Output);
			//// /ajax/SECTION/KEY/ACTION
			//var section = HttpHelper.GetSection(context);
			//var action = HttpHelper.GetAction(context);
			//var key = HttpHelper.GetKey(context);
			//writer.Write();

		}

		public bool IsReusable {
			get { return false; }
		}
	}
}
